import React from "react";
import style from './index.module.scss'
import { useNavigate } from "react-router-dom";
import HomeTop2 from "../../components/HoemTop2";
import WithRouter from "../../components/HOC/WithRouter";
const Index: React.FC = () => {
   //跳转大厅
  const navigate = useNavigate();
  const tzdt = () => {
    navigate("/kepuhaodating");
  };
  return (
    <div>
      <div className={style.youkepu}>
        <div onClick={() => tzdt()}>科普号大厅&gt;</div>
      </div>
      
        <HomeTop2 />
      
    </div>
  );
};

export default WithRouter(Index);
